package com.tangyuan.video.service;

import com.tangyuan.common.result.Result;
import com.tangyuan.dto.VideoPublishDto;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;

public interface VideoPublishService {
    Result getMusicList(Integer pageNumber,Integer pageSize);

    Result publishLittleVideo(MultipartFile image,
                              MultipartFile video,
                              String title,
                              String place,
                              Integer tag,
                              String token);

    Result publishLittleVideo(MultipartFile videoSource,
                              String title,
                              String address,
                              BigDecimal longitude,
                              BigDecimal latitude,
                              String token,
                              String littleVideoUrl,
                              Integer categoryId);

    Result publishLittleMusic(MultipartFile music,MultipartFile image,String singer, String title, String token);

    Result insertMusic(String token,String folderPath);
}
